package com.example.designpattern.proxy.staticProxy;



public class ProxyPatternTest {
    public static void main(String[] args) {
        RealSubject realSubject = new RealSubject();
        MySubject proxy=new MyProxy(realSubject);
        proxy.doSomething();
        System.out.println(proxy.fun());
    }
}
